﻿using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
using Microsoft.Practices.Prism.Logging;

namespace OpenLightGroup.Prism
{
    [Export("DebugLogger", typeof(ILoggerFacade))]
    public class DebugLogger : ILoggerFacade
    {

        #region ILoggerFacade Members

        public void Log(string message, Category category, Priority priority)
        {
            Debug.WriteLine(String.Format("{0} - {1}: {2}", priority.ToString(), category.ToString(), message));
        }

        #endregion
    }
}
